{{ ux_icon('flagpack:' ~ data.code|lower, {'class': 'flag flag-xs'}) }}

<span class="ps-2 fw-medium">{{ data }}</span>
